<template>
  <main class="page">
    <slot name="top" />

    <Content class="theme-antdocs-content" />
    <PageEdit />

    <PageNav v-bind="{ sidebarItems }" />

    <slot name="bottom" />
  </main>
</template>

<script>
import PageEdit from '@theme/components/PageEdit.vue'
import PageNav from '@theme/components/PageNav.vue'

export default {
  components: { PageEdit, PageNav },
  props: ['sidebarItems']
}
</script>

<style lang="scss" scoped>
@import '../styles/palette.scss';
@import "../styles/wrapper.scss";
.page {
  padding-bottom: 2rem;
  display: block;
}
@media (max-width: $MQMobile) {
  .page {
    margin-top: -$navbarHeight;
  }
}
</style>
